#ifndef PICTURERENDERWRAP_2018
#define PICTURERENDERWRAP_2018

#include    "picturerender.h"

class SinglePictureRenderWrap
{
public:
    SinglePictureRenderWrap(const char* file,GLfloat width,GLfloat height);
    ~SinglePictureRenderWrap();

private:
    SinglePicture* m_picture;
    SinglePictureRender* m_render;

public:
    SinglePicture* getSinglePicture(){return m_picture;}

public:
    void render(GLfloat x,GLfloat y);
    void update();

    const SinglePicture* getPicture(){return m_picture;}
};



#endif // PICTURERENDERWRAP_2018
